package com.zhwmall.product;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author:yanjizhw@163.com
 * @date:2020/8/18 17:32
 * 描述:
 * @since:1.0.0
 */
@EnableDiscoveryClient // 注册中心开启注解
@EnableFeignClients(basePackages = "com.zhwmall.product.feign")
@SpringBootApplication(scanBasePackages={"com.zhwmall.product", "com.zhwmall.common"})
@MapperScan(value = "com.zhwmall.product.dao")
public class ZhwmallProductApplication {

    public static void main(String[] args) {
        SpringApplication.run(ZhwmallProductApplication.class, args);
    }
}
